
const gender = Math.floor( Math.random() * 3 );

const Choose = () => {
  if( gender === 0 ){
    return ( <p style={ {textAlign: 'center' , color: 'blue' , fontSize: '30px'} }>您好，女士！</p> );
  }
  if( gender === 1 ) {
    return ( <p style={ { color: 'red' , fontSize:'30px' } }>您好，先生！</p> );
  }
  if( gender === 2 ) {
    return ( <p>您好</p> );
  }
  return null ;
}


export default Choose ;